﻿ALTER TABLE [flcr].[DEVICE]
    ADD CONSTRAINT [FK_DEVICE_ENVIRONMENT] FOREIGN KEY ([ENV_ID]) REFERENCES [flcr].[ENVIRONMENT] ([ENV_ID]) ON DELETE NO ACTION ON UPDATE NO ACTION;

